<template>
    <div class="goodsList">
    <GoodsListItem v-for="(item,index) in itemList" :key="index" :goodsList="item" /> 
    </div>
</template>
<script>
import GoodsListItem from './GoodsListItem'
export default {
  components:{
    GoodsListItem
  },
  props: {
    itemList: {
      type:Array,
      default(){
        return []
      }
    }
  }

};
</script>
<style scoped>
.goodsList {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  justify-content: space-around;
}

</style>